package com.ruoyi.cderp.mapper;

import java.util.List;
import com.ruoyi.cderp.domain.TblStockAdjustReason;

/**
 * 库存调整原因Mapper接口
 * 
 * @author ruoyi
 * @date 2025-03-03
 */
public interface TblStockAdjustReasonMapper 
{
    /**
     * 查询库存调整原因
     * 
     * @param id 库存调整原因主键
     * @return 库存调整原因
     */
    public TblStockAdjustReason selectTblStockAdjustReasonById(String id);

    /**
     * 查询库存调整原因列表
     * 
     * @param tblStockAdjustReason 库存调整原因
     * @return 库存调整原因集合
     */
    public List<TblStockAdjustReason> selectTblStockAdjustReasonList(TblStockAdjustReason tblStockAdjustReason);

    /**
     * 新增库存调整原因
     * 
     * @param tblStockAdjustReason 库存调整原因
     * @return 结果
     */
    public int insertTblStockAdjustReason(TblStockAdjustReason tblStockAdjustReason);

    /**
     * 修改库存调整原因
     * 
     * @param tblStockAdjustReason 库存调整原因
     * @return 结果
     */
    public int updateTblStockAdjustReason(TblStockAdjustReason tblStockAdjustReason);

    /**
     * 删除库存调整原因
     * 
     * @param id 库存调整原因主键
     * @return 结果
     */
    public int deleteTblStockAdjustReasonById(String id);

    /**
     * 批量删除库存调整原因
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTblStockAdjustReasonByIds(String[] ids);
}
